package ml.classification.filter;

import java.util.ArrayList;

public abstract class PostProcessingFilter {

	protected int n;
	protected int iterations;
	protected double threshold;
	protected boolean isSpeech;

	public abstract ArrayList<Integer> apply(ArrayList<Integer> list);

	public abstract String getFilterName();

	public int getN() {
		return n;
	}

	public int getNoIterations() {
		return iterations;
	}

	public double getThreshold() {
		return threshold;
	}

	public boolean isSpeech() {
		return isSpeech;
	}

	public void setN(final int n) {
		this.n = n;
	}

	public void setNoIterations(final int iterations) {
		this.iterations = iterations;
	}

	public void setThreshold(final double threshold) {
		this.threshold = threshold;
	}

	public void setSpeech(final boolean isSpeech) {
		this.isSpeech = isSpeech;
	}
}
